#pragma once

#include "..\..\Aspector\Source\AspectorLib.h"
#include <atlstr.h>

class ASPECTORTYPELIB_API CComMethodMatcherBase: public IMethodMatcher
{
	std::wstring methodName;
public:
	CComMethodMatcherBase(const std::wstring& _methodName);
	bool Matches(CJoinPoint& type);
};

template<const std::wstring& _methodName>
class CComMethodMatcher: public CComMethodMatcherBase
{
public:
	CComMethodMatcher()
		:CComMethodMatcherBase(_methodName)
	{
	}
};

